// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.nnee.p_b.p_b.p_h;

import android.os.Bundle;
import com.nnee.p_b.p_b.p_e.cls_a;
import com.nnee.p_b.p_b.p_e.cls_f;
import com.nnee.p_g.cls_b;
import java.util.Iterator;
import java.util.Set;
import org.json.JSONException;
import org.json.JSONObject;

// Referenced classes of package com.nnee.b.b.h:
//            b, c

public class cls_d extends cls_a
{

    public cls_d()
    {
        super("248858130998b36ac5d42c42b05caa96", "b759b840c0971dbd5fb3af77ec7c39c4");
    }

    public static cls_d a()
    {
        if(g == null)
            g = new cls_d();
        return g;
    }

    public static String a(Bundle bundle)
    {
        String s;
        if(bundle == null)
        {
            s = "";
        } else
        {
            StringBuilder stringbuilder = new StringBuilder();
            Iterator iterator = bundle.keySet().iterator();
            boolean flag = true;
            while(iterator.hasNext()) 
            {
                String s1 = (String)iterator.next();
                if(flag)
                    flag = false;
                else
                    stringbuilder.append("&");
                stringbuilder.append((new StringBuilder()).append(s1).append("=").append(bundle.getString(s1)).toString());
            }
            s = stringbuilder.toString();
        }
        return s;
    }

    public int a(com.nnee.p_b.p_b.p_e.cls_d d1)
    {
//        b("248858130998b36ac5d42c42b05caa96", "b759b840c0971dbd5fb3af77ec7c39c4");
//        return a(((com.nnee.p_fk.p_b.cls_a) (new com.nnee.b.b.h.b())), ((com.nnee.p_fk.p_b.cls_d) (d1)));
    	return 0;
    }

    public int a(String s, String s1, String s2, String s3, String s4, String s5, String s6, 
            String s7, String s8, String s9, com.nnee.p_b.p_b.p_e.cls_d d1)
    {
        return 0;//a(com.nnee.b.b.h.c.a(s, s1, s2, s3, s4, s5, s6, s7, s8, s9), ((com.nnee.p_fk.p_b.cls_d) (d1)));
    }

    public String a(String s)
    {
        return (new StringBuilder()).append("http://api.kaixin001.com").append(s).toString();
    }

    public String b(String s)
    {
        return (new StringBuilder()).append("https://api.kaixin001.com").append(s).toString();
    }

    public cls_f c(String s)
    {
    	return null;
//        if(s != null) goto _L2; else goto _L1
//_L1:
//        cls_f f1 = new cls_f(7, -5, null, null);
//_L4:
//        return f1;
//_L2:
//        com.nnee.p_g.cls_b.e("KAIXINService", s);
//        f1 = new cls_f(7);
//        try
//        {
//            JSONObject jsonobject = new JSONObject(s);
//            f1.h = jsonobject.optInt("error_code");
//            String s1 = jsonobject.optString("error");
//            if(s1 != null)
//            {
//                String as[] = s1.split(":");
//                if(as.length >= 3)
//                {
//                    f1.i = as[0];
//                    f1.j = as[2];
//                }
//            }
//        }
//        catch(JSONException jsonexception)
//        {
//            f1.h = -1;
//            f1.j = com.nnee.p_b.p_b.p_e.cls_f.a(-1);
//            jsonexception.printStackTrace();
//        }
//        if(true) goto _L4; else goto _L3
//_L3:
    }

    public static final String a = "100020444";
    public static final String b = "248858130998b36ac5d42c42b05caa96";
    public static final String d = "b759b840c0971dbd5fb3af77ec7c39c4";
    private static final String e = "http://api.kaixin001.com";
    private static final String f = "https://api.kaixin001.com";
    private static cls_d g;
}
